package com.he.service.impl;

import com.he.mapper.TestMapper;
import com.he.pojo.Id;
import com.he.pojo.Ip;
import com.he.pojo.Traffic;
import com.he.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private TestMapper testMapper;

    @Override
    public List<Id> getId() {
        return testMapper.selectId();
    }

    @Override
    public List<Ip> getIp() {
        return testMapper.selectIp();
    }

    @Override
    public List<Traffic> getTraffic() {
        return testMapper.selectTraffic();
    }

}